package com.example.shirospringboot.service.customService;

import com.example.shirospringboot.mapper.ClientMapper;
import com.example.shirospringboot.pojo.Client;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class CustomServiceImpl implements CustomService{

    @Autowired
    ClientMapper clientMapper;


    @Override
    public Client queryClient(String name) {
        return clientMapper.queryClient(name);
    }
}
